﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebMvc.App.Models.Entity.Common
{
    public class sms_template:NFinal.Struct
    {
		public System.Int64 id {get;set;}
		public System.String name {get;set;}
		public System.String template_id {get;set;}
		public System.String app_id {get;set;}
		public System.String content {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id.ToString());
					tw.Write(",");
					tw.Write("\"name\":");
					tw.Write("\"");
					tw.Write(name==null?"null":name);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"template_id\":");
					tw.Write("\"");
					tw.Write(template_id==null?"null":template_id);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"app_id\":");
					tw.Write("\"");
					tw.Write(app_id==null?"null":app_id);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"content\":");
					tw.Write("\"");
					tw.Write(content==null?"null":content);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
